import React, { ReactElement, ReactNode } from 'react'
import { PageHeaderWrapper } from '@ant-design/pro-layout'
import styles from '../index.less'

interface Props {
    children?: ReactNode
}

export default function Index({ children }: Props): ReactElement {
    return (
        <div className={styles.warp}>
            <PageHeaderWrapper></PageHeaderWrapper>
            <div className={styles.context}>
                {children}
            </div>
        </div>
    )
}
